package vip.finance.makemoney.apiSpider;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import vip.finance.makemoney.config.feign.FeignMultipartSupportConfig;

/**
 * 新浪财经api
 *
 * @author 杨滨
 * @date 2023年02月01日
 */
@FeignClient(name = "sinaApi", url = "${feign.rpc.sina_api_url}", configuration = FeignMultipartSupportConfig.class)
public interface SinaApi {
    //实时价格
    @GetMapping(headers = {"Referer=https://finance.sina.com.cn"})
    String daily(@RequestParam("list") String list);
}
